﻿using Surpass.Model.BaseDomain;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Surpass.Model.SysDomain
{
    [Table("SysDept")]
    public class SysDept: BaseCommonModel
    {
        [Key]
        public int DId { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        [StringLength(50)]
        public string DName { get; set; }
        /// <summary>
        /// 部门负责人
        /// </summary>
        public int UserId { get; set; }
        public int ParentId { get; set; }
    }
}
